package com.best.pojo;

import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

/**
 * @author yangruyi
 * @date 2021/3/10
 */
@TableName("food_comment")
public class FoodComment {
    /**
     * 评论id,增加不传
     */
    private String id;
    /**
     * 评论内容
     */
    private String content;
    /**
     * 当前用户id
     */
    private String userId;
    /**
     * 评论者名
     */
    private String username;
    /**
     * 作品id
     */
    private String foodId;
    /**
     * 评论时间，不用传
     */
    private Date createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getFoodId() {
        return foodId;
    }

    public void setFoodId(String foodId) {
        this.foodId = foodId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
